﻿using Hjt212Parser;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceProcess;
using System.Text;

namespace HpSocketIotGateway
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        static void Main()
        {
            var isDebug = false;
            if (!isDebug)
            {
                var servicesToRun = new ServiceBase[]
                {
                    new MissingReissue()
                };

                ServiceBase.Run(servicesToRun);
            }
            else
            {
                new MissingReissue().Main();
                ThreadUtil.Sleep(1000 * 60 * 60 * 96);
            }
        }
    }
}
